/*
 * Flashbox4SettingView.h
 *
 *  Created on: 2009-1-20
 *      Author: hequn
 */

#ifndef FLASHBOX4SETTINGVIEW_H_
#define FLASHBOX4SETTINGVIEW_H_

#include <aknview.h>
#include "Flashbox4SettingContainer.h"


class CFlashbox4SettingView : public CAknView
{
public:
	/**
	 * EPOC default constructor.
	 */
	void ConstructL( );
	
	
	~CFlashbox4SettingView();
	
public: // Functions from base classes
	
	/**
	* From CAknView returns Uid of View
	* @return TUid uid of the view
	*/
	TUid Id() const;

	/**
	* From MEikMenuObserver delegate commands from the menu
	* @param aCommand a command emitted by the menu 
	* @return void
	*/
//	void HandleCommandL(TInt aCommand);

	/**
	* From CAknView reaction if size change
	* @return void
	*/
	void HandleClientRectChange();
	
private:

	/**
	* From CAknView activate the view
	* @param aPrevViewId 
	* @param aCustomMessageId 
	* @param aCustomMessage 
	* @return void
	*/
	void DoActivateL(const TVwsViewId& aPrevViewId,TUid aCustomMessageId,
		const TDesC8& aCustomMessage);

	/**
	* From CAknView deactivate the view (free resources)
	* @return void
	*/
	void DoDeactivate();
	

	
private:
	CFlashbox4SettingContainer 	*m_pSettingContainer;
	

};

#endif /* FLASHBOX4SETTINGVIEW_H_ */
